package com.yzt.message.db;

import androidx.room.Database;
import androidx.room.RoomDatabase;
import androidx.room.TypeConverters;

import com.yzt.message.db.dao.ConversationDao;
import com.yzt.message.db.dao.UserDao;
import com.yzt.message.db.model.ConversationEntity;
import com.yzt.message.db.model.UserInfo;


@Database(entities = {UserInfo.class, ConversationEntity.class}, version = 3, exportSchema = false)
@TypeConverters(TypeConverters.class)
public abstract class SealTalkDatabase extends RoomDatabase {
    public abstract UserDao getUserDao();

    public abstract ConversationDao getConversationDao();

}
